package com.silverbox.waimai.service.shopper.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.silverbox.waimai.entity.SweepClose;
import com.silverbox.waimai.mapper.SweepCloseMapper;
import com.silverbox.waimai.service.shopper.BusinessInfoService;

@Service
public class BusinessInfoServiceImpl implements BusinessInfoService{

	@Autowired
	private SweepCloseMapper sweepCloseMapper;
	
	@Override
	public SweepClose getSweepCloseByStoreId(Integer storeId) {
		return sweepCloseMapper.getSweepCloseByStoreId(storeId);
	}

	@Override
	public int updateSweepClose(SweepClose sweepClose) {
		return sweepCloseMapper.updateSweepClose(sweepClose);
	}

}
